package com.mssh.entity.table;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 熳殊沙华
 * @Date: 2022/07/15/10:34
 * @Description:
 */
@Data
@TableName(value = "sys_resource")
public class SysResource {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String parentId;
    private String menuId;
    private String resourceName;
    private String resourcePath;
    private String filePath;
    private String label;
    private String icon;
    private int isLeaf;
    private int sortNo;
    private String resourceType;
    private String systemCode;
    private int isSystemRoot;
    private int enable;
    private String remark;
    private List<SysResource> child;
}
